Copyright: This helpfile is created by D.Winkelbach


 WinSTEP toolbars helpfile

Rollup Windows and special controls like the ones in COREL! Draw

This little program shows you how to add some of the rollup windows with mini captions, toolbars and special scrollbars to your program that look like the controls like COREL! Draw without VBX!

The program consists of 5 parts:

The TOOLBAR

The ROLLUP FORM #1

The ROLLUP FORM #2

The COLOR PALETTE

The DEMO FORM

How to obtain the sourcecode of the program ...


 WinSTEP toolbars helpfile

The TOOLBAR is designed similar to the toolbar you can find in COREL! PhotoPaint or COREL! Draw. If You purchase the fullversion You can of course change the bitmaps in the toolbar.

By clicking on the toolbar buttons more than 0.5 seconds another toolbar pops up, where you can choose different tools. The bitmap of the choosen tool will now appear on the main toolbar. You might store the bitmaps you have been choosen last by storing parameters to a ini-file and calling them when executing the program.


 WinSTEP toolbars helpfile

The FIRST ROLLUP WINDOW

What you see in this sample program shows an example of custom scrollbars:

First we must tell somethig to the function of the rollup window:

It works almost as the rollup windows in the Corel programs:

Just click on the right button in the captionbar: the window scrolls up until you can only see the the captionbar. If you now click again on the button the window will scroll down again to ist complete size.

Now click on the left button in the captionbar: the window closes!

The second function which is demonstrated on this rollup window are the three bars that are e.g. suitable to adjust the colors in the label. You can adjust the colors between a range of 0 and 255. Each of the RGB colors is represented by one bar and can be adjusted separately. You can as well use this way to adjust other values such as dates ...


 WinSTEP toolbars helpfile

The SECOND ROLLUP WINDOW

It is a child window of the main MDI parent window. It shows just another design of the buttons.


 WinSTEP toolbars helpfile

The COLOR PALETTE

This control window shows a tipycal way to choose a color out of the windows

16 color palette. It opens closed when the program starts. The click on the right button opens the color palette and allows you for example to choose a background and a foreground color.

Depending on the label which is set to foreground (in this case its the white label) the color of the label will be set by clicking one of the buttons of the palette. The left of both labels represents the backgroundcolor, the right label represents the foreground color.


 WinSTEP toolbars helpfile

The DEMO FORM

This Form is just an example of some other controls. You see there that You can use any style of control as button to adjust. You can as well adjust the values between any range not just between 0 and 100.


How to obtain the sourcecode of the program ...

You can obtain the program from:

WinSTEP®

Dirk Winkelbach

Reuenthalerstraße 25 a

63937 Weilbach

Fax.: +49 9373 99911

CIS ID 100270,3245

by paying 14,-- $ to the

KontoNr. 28 50 78 8,

BLZ 796 900 00,

Raiffeisen Volksbank Miltenberg e.G (Germany)

or by cheque.

You might as well go to the Shareware Registration Database (GO SWREG). Look there for the keywords: COREL, FLYOUT, ROLLUP, TOOLBAR. Or just type in the registration ID:7283


Here You can choose the tools you want to use. Just position the mous over the desired tool and release the left mouse button.


This is the main toolbar from where you can choose either one of the tools you see or choose out of a wide range of tools that popup when you click on one of the toolbar buttons for more than .5 seconds


If the rollup window is opened you can click on the button to roll up the window. The buttons bitmap changes to an arrow that shows to another direction. If the window is rolled up you can click on the button to roll it down.


If you drag this button the red value of the label below will be increased or decreased, depending on the direction you drag it.


If you drag this button the green value of the label below will be increased or decreased, depending on the direction you drag it.


If you drag this button the blue value of the label below will be increased or decreased, depending on the direction you drag it.


The label shows the change of the RGB Color values when one or several values of the bars above will be changed


Here´s were the value of the RGB Color will be shown explicitly in numbers.


This is the systemmenu button of the rollup window. It has no real systemmenu, but if you click on it, the window will be closed.


This is the mini caption of the flyout window. You can drag the window like normal window. If you get the source code, you can (at design view) also change its height or, if You dont want to set it to the system colors, change ist color.


This label shows the currently choosen forecolor. If it is set to background and you click on it, it will be set to foreground. Depending on the label (foreground or background) which is currently in the foreground, its colors will be changed.


This label shows the currently choosen backcolor. If it is set to background and you click on it, it will be set to foreground. Depending on the label (foreground or background) which is currently in the foreground, its colors will be changed.


This is the Button which lets the flyout window fly out if it is closed and which lets it fly in if ist opened.


By clicking one of the buttons You choose the foregroundcolor or backgroundcolor to be set.


Each of the Buttons on this form changes a value either from 0 to 100 or from 0 to 255. If You purchase the source code you will be able to change the shape of the buttons to almost every bitmap you want.


To illustrate the change of the value, we change the color of the left side of the gauge to another color,  than the color on the right side.